next
Round
Technologies
Experiences
Contribute
Login
next
Round
Technologies
Experiences
Contribute
Login
Question Loading...
Custom Hooks
1. Why do we need custom hooks?
Level: Expert | Frequency: High
2. What points to note and take care of while writing custom hooks?
Level: Expert | Frequency: High
3. When should we use a custom hook?
Level: Expert | Frequency: High
4. What should not be put into custom hooks?
Level: Expert | Frequency: High
5. What are the advantages of Custom Hooks?
Level: Expert | Frequency: High
6. What should be returned by custom hooks?
Level: Expert | Frequency: High
7. What is the useEffect cleanup function?
Level: Expert | Frequency: High
8. What should we do in cleanup functions?
Level: Expert | Frequency: High
9. What are the advantages of cleaning up after an effect?
Level: Expert | Frequency: High
10. List potential pitfalls or risks of Custom Hooks.
Level: Expert | Frequency: High
11. Implement useLocalStorage hook.
Level: Expert | Frequency: High
12. Implement useDebounce hook.
Level: Expert | Frequency: High
13. Recap.
Level: Expert | Frequency: High
14. Implement useMediaQuery hook.
Level: Expert | Frequency: High
All Topics
JSX
Virtual DOM
Reconciliation
State and Props
Components
Class Components
Function Components
Lifecycle functions
Code Sharing
Hooks
useState
useReducer
useMemo
useContext
useCallback
useEffect
Custom Hooks
New Hooks
HOC
Refs
Data Sharing
Events
Context API
Redux
Router
CSR-SSR
React APIs
Performance Optimisation
ReactDOM
React APIs
Strict Mode